package com.hero;

import com.hero.entity.Organization;

import java.util.ArrayList;
import java.util.List;

public class test {
    public static void main(String[] args) {
//        Organization organization = new Organization();
//        Organization organization1 = new Organization();
//        organization.setOrgname("111");
//        organization1.setOrgname("111");
//        List<Organization> list = new ArrayList<>();
//        list.add(organization);
//        list.add(organization1);
//        list.remove(organization);
       List list = new ArrayList();
       list.add("demo1");
       list.add("demo2");
       list.add("demo3");
       list.add("demo4");
       list.add("demo5");
       list.remove(1);
        System.out.println(list);

    }
}
